﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SimpleSocket.Samples.ChatCommon
{
    public enum MessageType : int
    {
        /// <summary>
        /// The server is requesting the username
        /// </summary>
        RequestUserName = 1,
        
        /// <summary>
        /// Chat Message
        /// </summary>
        ChatMessage = 2,

        /// <summary>
        /// List all users online
        /// </summary>
        ListUsers = 3,

        /// <summary>
        /// User Joined the chat
        /// </summary>
        UserJoined = 4,

        /// <summary>
        /// User left the chat
        /// 
        /// </summary>
        UserLeft = 5
    }
}
